OneTeamSoftware\WooCommerce\Shipping\Plugin S

Total Complexity 50
Dependencies 5
Dependents 0
Total lines 345
Lines of code 241
Logical lines of code 134
Comment lines 7
Methods 20
Properties 16

Methods 20

Method Rating Maintainability Complexity Lines of code
onCheckoutValidation()
S
53 7 21
calculateShippingOnCheckout()
S
54 7 20
initSettings()
S
43 5 49
register()
S
47 5 32
setRequiredFields()
S
62 4 12
defineShippingMethodClass()
S
53 3 26
initLazyClassProxies()
S
66 3 7
getDefaultServiceName()
S
66 3 9
__construct()
S
56 1 17
onIsEnabled()
S
71 2 6
getPluginSettings()
S
82 1 3
updateFormFields()
S
80 1 3
getBaseShippingMethodClassName()
S
82 1 3
onPluginActionLinks()
S
71 1 5
registerFeatures()
S
72 1 5
onAdminMenu()
S
78 1 3
addShippingMethod()
S
73 1 5
initAdapter()
S
71 1 5
loadSettings()
S
68 1 7
getShippingMethodClassName()
S
79 1 3